<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xrdp</Name>
        <Homepage>https://xorg.freedesktop.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>Apache</License>
        <IsA>library</IsA>
        <Summary>xrdp an open source RDP server</Summary>
        <Description>xrdp açık kaynaklı bir RDP sunucusu. RDP istemcileri FreeRDP, rdesktop, NeutrinoRDP ve Microsoft Uzak Masaüstü</Description>
        <Archive sha1sum="d677d8fe70e8713ad90da9e98585e6238ad57476" type="targz">https://github.com/neutrinolabs/xrdp/releases/download/v0.9.16/xrdp-0.9.16.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>nasm</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>pam-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>fuse-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>lame-devel</Dependency>
            <Dependency>pixman-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
           <!--   

            <Dependency>mit-kerberos</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>e2fsprogs-devel</Dependency>
        -->
        </BuildDependencies>
        <!--
        <Patches>
            <Patch>xrdp.patch</Patch>
            <Patch level="1">xrdp.patch</Patch>
        </Patches>
        -->
    </Source>

    <Package>
        <Name>xrdp</Name>
        <RuntimeDependencies>
            <Dependency>pam</Dependency>
            <Dependency>fuse</Dependency>
            <Dependency>lame</Dependency>
            <Dependency>pixman</Dependency>
            <Dependency>mit-kerberos</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="config">/etc</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
    
    <Package>
        <Name>xrdp-devel</Name>
        <Summary>Development files for xrdp</Summary>
        <RuntimeDependencies>
            <Dependency release="current">xrdp</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>
    
    <History>
        <Update release="1">
            <Date>2021-05-29</Date>
            <Version>0.9.16</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
